package com.gxa.meiye.sso.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.gxa.meiye.core.exception.BusinessException;
import com.gxa.meiye.core.pojo.vo.TherapistLoginInfo;


public interface TherapistService {
    String login(String phone, String code) throws BusinessException, JsonProcessingException;
    //验证token
    TherapistLoginInfo queryUserByToken(String token) throws BusinessException, JsonProcessingException;
}
